package com.foreknow.demo6;

public class Dog1 extends Pet {

    @Override
    public void toHospital() {
        this.setHealth(60);
        System.out.println("打针，吃药");
    }
    public void catchingFly(){
        System.out.println("玩飞盘游戏");
    }
}
